package com.yt.dor.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yt.dor.models.dto.DormRoomDTO;
import com.yt.dor.models.vo.DormBuildingVO;
import com.yt.dor.models.vo.DormRoomVO;

import java.util.List;

/**
 * 宿舍房间表映射
 *
 * @author thekai
 * @Date 2025-10-21 14:13:41
 */
public interface DormRoomMapper extends BaseMapper<DormRoomDTO> {
    List<DormRoomVO> query();

    List<DormRoomDTO> selectAvailableRoomsByProfession(String sex, String professionId, String grade);

    List<DormRoomDTO> selectAvailableMixedRooms(String sex, String grade);
}
